package com.kpf.springcloud.service;

import com.kpf.springcloud.pojo.KpfFollowUser;
import com.kpf.springcloud.pojo.KpfUser;
import com.kpf.springcloud.vo.FollowAndFansUserVO;
import com.kpf.springcloud.vo.FollowUserInfoVO;
import com.kpf.springcloud.vo.UserFansAndStatusVO;

import java.util.List;

/**
 * @author shiwen
 * @date 2021/4/8
 */
public interface IKpfFollowUserService extends IBaseService<KpfFollowUser> {

    /**
     * 关注用户
     */
    void followUser(int followUserId);

    /**
     * 关注信息接口
     *
     * @return
     */
    FollowUserInfoVO getFollowInfo();

    /**
     * 获取粉丝集合
     */
    List<FollowAndFansUserVO> getFansList();

    /**
     * 获取关注用户的集合
     */
    List<FollowAndFansUserVO> getFollowUserList();

    /**
     * 获取粉丝数和关注状态
     *
     * @param userId
     * @param followUserId
     * @return
     */
    UserFansAndStatusVO getUserFansAndStatusVO(int userId,int followUserId);

}